﻿using AutoMapper;
using GuanYijia.Application.IntPut;
using GuanYijia.Application.OutPut;
using GuanYijia.DoMain;
using GuanYijia.DoMain.RBAC;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.Application
{
    public class ApplicationAutoMapperProfile:Profile
    {
        public ApplicationAutoMapperProfile()
        {
           
                CreateMap<User, UserOutput>().ReverseMap();
                CreateMap<Role, AddRoleIntPut>().ReverseMap();
            CreateMap<AddMaterialNeedInPut, MaterialNeedModel>().ReverseMap();
        }
       
    }
}
